package file;

import java.io.File;

public class MKDirDemo {
    public static void main(String[] args) {
        File dir= new File("./aa/bb/cc");
        if(dir.exists()){
            System.out.println("该目录已存在");
        }else{
            dir.mkdirs();
            System.out.println("该目录已创建");
        }

    }
}
